#define _CRT_SECURE_NO_WARNINGS 1
class A
{
public:
	A()
	{
		sum += i;
		i += 1;
	}
	static int Getsum()
	{
		return sum;
	}

private:
	static int sum;
	static int i;
};
int A::i = 1;
int A::sum = 0;
class Solution {
public:
	int Sum_Solution(int n)
	{
		A arr[n];
		return A::Getsum();

	}
};